<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>书本翻页</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
    </style>
    <link rel="stylesheet" href="./pageTurning.css">
    <style>
        .page-turning {
            width: 1000px;
            height: 600px;
            margin: 50px auto;
        }
    </style>
</head>
<body>
<div class="page-turning">
    <div class="page-item-1 page-item"></div>
    <div class="page-item-2 page-item"></div>
    <div class="page-item-3 page-item"></div>
    <div class="page-item-4 page-item"></div>
</div>
<script src="./js/jquery-3.2.1.min.js"></script>
<script src="./js/pageTurning.js"></script>
<script>
    $(function () {
        new pageTurning({
            itemArr: [
                '<img src="./images/1.jpg" width="100%" height="100%">',
                '<img src="./images/2.jpg" width="100%" height="100%">',
                '<img src="./images/3.png" width="100%" height="100%">',
                '<img src="./images/4.png" width="100%" height="100%">',
                '<img src="./images/5.jpg" width="100%" height="100%">',
                '<img src="./images/1.jpg" width="100%" height="100%">',
                '<img src="./images/2.jpg" width="100%" height="100%">',
                '<img src="./images/3.png" width="100%" height="100%">',
                '<img src="./images/4.png" width="100%" height="100%">',
                '<img src="./images/5.jpg" width="100%" height="100%">',
                '<img src="./images/1.jpg" width="100%" height="100%">',
                '<img src="./images/2.jpg" width="100%" height="100%">',
                '<img src="./images/3.png" width="100%" height="100%">',
                '<img src="./images/4.png" width="100%" height="100%">',
                '<img src="./images/5.jpg" width="100%" height="100%">',
                '<img src="./images/1.jpg" width="100%" height="100%">',
                '<img src="./images/2.jpg" width="100%" height="100%">',
                '<img src="./images/3.png" width="100%" height="100%">',
                '<img src="./images/4.png" width="100%" height="100%">',
                '<img src="./images/5.jpg" width="100%" height="100%">'
            ]
        })
    })
</script>
</body>
</html>